package com.shenxiang.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@RestController
@RequestMapping("/index")
public class IndexController {

    @RequestMapping("/call")
    public Map<String,String[]> call(HttpServletRequest request){
        return request.getParameterMap();
    }

}
